package com.lengxf.pay.starter.parent.bean;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class RefundResult extends PayBaseResult {

    //本系统内订单号
    private String orderNo;

    //三方系统订单号
    private String outOrderNo;

    //本系统退款订单号
    private String refundOrderNo;

    //三方系统退款订单号
    private String outRefundOrderNo;

    //退款金额
    private BigDecimal refundAmount;

    //支付渠道
    private String channel;


    public RefundResult(String code, String msg, boolean isSuccess) {
        super.setSuccess(isSuccess);
        super.setOutCode(code);
        super.setOutMsg(msg);
    }

}
